{# The glance's lines (overseer_container.glance): state, name, uptime, CPU, memory as a share of its limit (amber, then red at the alert threshold), Restart, and the way to the Container and Logs sections. Nothing when there is no container to show; a quiet note while the first reading is on its way. #} {% from "pages/overseer/_glance_macros.html" import actions, cpu, memory, state, uptime %} {% if glance.pending %}

{{ glance.note }}

{% elif not glance.note %}
{% for row in glance.rows %}
{{ state(row) }} {{ row.name }} {{ uptime(row) }} {{ cpu(row) }} {{ memory(row) }} {{ actions(row, glance_base) }}
{% endfor %}
{% endif %}